<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Even Numbers from 10 to 1</title>
</head>
<body>
<!-- 输出1到10 的偶数 -->

    <script>
        for (let i = 10; i >= 1; i--) {
            if (i % 2 === 0) {
           console.log(i);i
            }
        }

        
    </script>
</body>
</html>